<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: jsonp   jsonp.js  (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>jsonp&nbsp; <span class="subtitle">3.3.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_jsonp.html" title="jsonp">jsonp</a>
                
                 &gt; jsonp.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
                        <div class="highlight"><pre><span class="kd">var</span> <span class="nx">isFunction</span> <span class="o">=</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Lang</span><span class="p">.</span><span class="nx">isFunction</span><span class="p">;</span>

<span class="cm">/**</span>
<span class="cm"> * &lt;p&gt;Provides a JSONPRequest class for repeated JSONP calls, and a convenience</span>
<span class="cm"> * method Y.jsonp(url, callback) to instantiate and send a JSONP request.&lt;/p&gt;</span>
<span class="cm"> *</span>
<span class="cm"> * &lt;p&gt;Both the constructor as well as the convenience function take two</span>
<span class="cm"> * parameters: a url string and a callback.&lt;/p&gt;</span>
<span class="cm"> *</span>
<span class="cm"> * &lt;p&gt;The url provided must include the placeholder string</span>
<span class="cm"> * &amp;quot;{callback}&amp;quot; which will be replaced by a dynamically</span>
<span class="cm"> * generated routing function to pass the data to your callback function.</span>
<span class="cm"> * An example url might look like</span>
<span class="cm"> * &amp;quot;http://example.com/service?callback={callback}&amp;quot;.&lt;/p&gt;</span>
<span class="cm"> *</span>
<span class="cm"> * &lt;p&gt;The second parameter can be a callback function that accepts the JSON</span>
<span class="cm"> * payload as its argument, or a configuration object supporting the keys:&lt;/p&gt;</span>
<span class="cm"> * &lt;ul&gt;</span>
<span class="cm"> *   &lt;li&gt;on - map of callback subscribers</span>
<span class="cm"> *      &lt;ul&gt;</span>
<span class="cm"> *         &lt;li&gt;success - function handler for successful transmission&lt;/li&gt;</span>
<span class="cm"> *         &lt;li&gt;failure - function handler for failed transmission&lt;/li&gt;</span>
<span class="cm"> *         &lt;li&gt;timeout - function handler for transactions that timeout&lt;/li&gt;</span>
<span class="cm"> *      &lt;/ul&gt;</span>
<span class="cm"> *  &lt;/li&gt;</span>
<span class="cm"> *  &lt;li&gt;format  - override function for inserting the proxy name in the url&lt;/li&gt;</span>
<span class="cm"> *  &lt;li&gt;timeout - the number of milliseconds to wait before giving up&lt;/li&gt;</span>
<span class="cm"> *  &lt;li&gt;context - becomes &lt;code&gt;this&lt;/code&gt; in the callbacks&lt;/li&gt;</span>
<span class="cm"> *  &lt;li&gt;args    - array of subsequent parameters to pass to the callbacks&lt;/li&gt;</span>
<span class="cm"> *  &lt;li&gt;allowCache - use the same proxy name for all requests? (boolean)&lt;/li&gt;</span>
<span class="cm"> * &lt;/ul&gt;</span>
<span class="cm"> *</span>
<span class="cm"> * @module jsonp</span>
<span class="cm"> * @class JSONPRequest</span>
<span class="cm"> * @constructor</span>
<span class="cm"> * @param url {String} the url of the JSONP service</span>
<span class="cm"> * @param callback {Object|Function} the default callback configuration or</span>
<span class="cm"> *                                   success handler</span>
<span class="cm"> */</span>
<span class="kd">function</span> <span class="nx">JSONPRequest</span><span class="p">()</span> <span class="p">{</span>
    <span class="k">this</span><span class="p">.</span><span class="nx">_init</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span> <span class="nx">arguments</span><span class="p">);</span>
<span class="p">}</span>

<span class="nx">JSONPRequest</span><span class="p">.</span><span class="nx">prototype</span> <span class="o">=</span> <span class="p">{</span>
    <span class="cm">/**</span>
<span class="cm">     * Number of requests currently pending responses.  Used by connections</span>
<span class="cm">     * configured to allowCache to make sure the proxy isn&#39;t deleted until</span>
<span class="cm">     * the last response has returned.</span>
<span class="cm">     *</span>
<span class="cm">     * @property _requests</span>
<span class="cm">     * @private</span>
<span class="cm">     * @type {Number}</span>
<span class="cm">     */</span>
    <span class="nx">_requests</span><span class="o">:</span> <span class="mi">0</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Set up the success and failure handlers and the regex pattern used</span>
<span class="cm">     * to insert the temporary callback name in the url.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _init</span>
<span class="cm">     * @param url {String} the url of the JSONP service</span>
<span class="cm">     * @param callback {Object|Function} Optional success callback or config</span>
<span class="cm">     *                  object containing success and failure functions and</span>
<span class="cm">     *                  the url regex.</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_init</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">url</span><span class="p">,</span> <span class="nx">callback</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">url</span> <span class="o">=</span> <span class="nx">url</span><span class="p">;</span>

        <span class="c1">// Accept a function, an object, or nothing</span>
        <span class="nx">callback</span> <span class="o">=</span> <span class="p">(</span><span class="nx">isFunction</span><span class="p">(</span><span class="nx">callback</span><span class="p">))</span> <span class="o">?</span>
            <span class="p">{</span> <span class="nx">on</span><span class="o">:</span> <span class="p">{</span> <span class="nx">success</span><span class="o">:</span> <span class="nx">callback</span> <span class="p">}</span> <span class="p">}</span> <span class="o">:</span>
            <span class="nx">callback</span> <span class="o">||</span> <span class="p">{};</span>

        <span class="kd">var</span> <span class="nx">subs</span> <span class="o">=</span> <span class="nx">callback</span><span class="p">.</span><span class="nx">on</span> <span class="o">||</span> <span class="p">{};</span>

        <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">subs</span><span class="p">.</span><span class="nx">success</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">subs</span><span class="p">.</span><span class="nx">success</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">_defaultCallback</span><span class="p">(</span><span class="nx">url</span><span class="p">,</span> <span class="nx">callback</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="c1">// Apply defaults and store</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_config</span> <span class="o">=</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">merge</span><span class="p">({</span>
                <span class="nx">context</span><span class="o">:</span> <span class="k">this</span><span class="p">,</span>
                <span class="nx">args</span>   <span class="o">:</span> <span class="p">[],</span>
                <span class="nx">format</span> <span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">_format</span><span class="p">,</span>
                <span class="nx">allowCache</span><span class="o">:</span> <span class="kc">false</span>
            <span class="p">},</span> <span class="nx">callback</span><span class="p">,</span> <span class="p">{</span> <span class="nx">on</span><span class="o">:</span> <span class="nx">subs</span> <span class="p">});</span>
    <span class="p">},</span>

    <span class="cm">/** </span>
<span class="cm">     * Override this method to provide logic to default the success callback if</span>
<span class="cm">     * it is not provided at construction.  This is overridden by jsonp-url to</span>
<span class="cm">     * parse the callback from the url string.</span>
<span class="cm">     * </span>
<span class="cm">     * @method _defaultCallback</span>
<span class="cm">     * @param url {String} the url passed at construction</span>
<span class="cm">     * @param config {Object} (optional) the config object passed at</span>
<span class="cm">     *                        construction</span>
<span class="cm">     * @return {Function}</span>
<span class="cm">     */</span>
    <span class="nx">_defaultCallback</span><span class="o">:</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{},</span>

    <span class="cm">/** </span>
<span class="cm">     * Issues the JSONP request.</span>
<span class="cm">     *</span>
<span class="cm">     * @method send</span>
<span class="cm">     * @param args* {any} any additional arguments to pass to the url formatter</span>
<span class="cm">     *              beyond the base url and the proxy function name</span>
<span class="cm">     * @chainable</span>
<span class="cm">     */</span>
    <span class="nx">send</span> <span class="o">:</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">self</span>   <span class="o">=</span> <span class="k">this</span><span class="p">,</span>
            <span class="nx">args</span>   <span class="o">=</span> <span class="nx">Y</span><span class="p">.</span><span class="nb">Array</span><span class="p">(</span><span class="nx">arguments</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="kc">true</span><span class="p">),</span>
            <span class="nx">config</span> <span class="o">=</span> <span class="nx">self</span><span class="p">.</span><span class="nx">_config</span><span class="p">,</span>
            <span class="nx">proxy</span>  <span class="o">=</span> <span class="nx">self</span><span class="p">.</span><span class="nx">_proxy</span> <span class="o">||</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">guid</span><span class="p">(),</span>
            <span class="nx">url</span><span class="p">;</span>
            
        <span class="c1">// TODO: support allowCache as time value</span>
        <span class="k">if</span> <span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">allowCache</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">self</span><span class="p">.</span><span class="nx">_proxy</span> <span class="o">=</span> <span class="nx">proxy</span><span class="p">;</span>

            <span class="c1">// In case additional requests are issued before the current request</span>
            <span class="c1">// returns, don&#39;t remove the proxy.</span>
            <span class="nx">self</span><span class="p">.</span><span class="nx">_requests</span><span class="o">++</span><span class="p">;</span>
        <span class="p">}</span>

        <span class="nx">args</span><span class="p">.</span><span class="nx">unshift</span><span class="p">(</span><span class="nx">self</span><span class="p">.</span><span class="nx">url</span><span class="p">,</span> <span class="s1">&#39;YUI.Env.JSONP.&#39;</span> <span class="o">+</span> <span class="nx">proxy</span><span class="p">);</span>
        <span class="nx">url</span> <span class="o">=</span> <span class="nx">config</span><span class="p">.</span><span class="nx">format</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="nx">self</span><span class="p">,</span> <span class="nx">args</span><span class="p">);</span>

        <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">config</span><span class="p">.</span><span class="nx">on</span><span class="p">.</span><span class="nx">success</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">Y</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="s2">&quot;No success handler defined.  Aborting JSONP request.&quot;</span><span class="p">,</span> <span class="s2">&quot;warn&quot;</span><span class="p">,</span> <span class="s2">&quot;jsonp&quot;</span><span class="p">);</span>
            <span class="k">return</span> <span class="nx">self</span><span class="p">;</span>
        <span class="p">}</span>

        <span class="kd">function</span> <span class="nx">wrap</span><span class="p">(</span><span class="nx">fn</span><span class="p">)</span> <span class="p">{</span>
            <span class="k">return</span> <span class="p">(</span><span class="nx">isFunction</span><span class="p">(</span><span class="nx">fn</span><span class="p">))</span> <span class="o">?</span>
                <span class="kd">function</span> <span class="p">(</span><span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
                    <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">config</span><span class="p">.</span><span class="nx">allowCache</span> <span class="o">||</span> <span class="o">!--</span><span class="nx">self</span><span class="p">.</span><span class="nx">_requests</span><span class="p">)</span> <span class="p">{</span>
                        <span class="k">delete</span> <span class="nx">YUI</span><span class="p">.</span><span class="nx">Env</span><span class="p">.</span><span class="nx">JSONP</span><span class="p">[</span><span class="nx">proxy</span><span class="p">];</span>
                    <span class="p">}</span>
                    <span class="nx">fn</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">context</span><span class="p">,</span> <span class="p">[</span><span class="nx">data</span><span class="p">].</span><span class="nx">concat</span><span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">args</span><span class="p">));</span>
                <span class="p">}</span> <span class="o">:</span>
                <span class="kc">null</span><span class="p">;</span>
        <span class="p">}</span>

        <span class="c1">// Temporary un-sandboxed function alias</span>
        <span class="c1">// TODO: queuing</span>
        <span class="nx">YUI</span><span class="p">.</span><span class="nx">Env</span><span class="p">.</span><span class="nx">JSONP</span><span class="p">[</span><span class="nx">proxy</span><span class="p">]</span> <span class="o">=</span> <span class="nx">wrap</span><span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">on</span><span class="p">.</span><span class="nx">success</span><span class="p">);</span>

        <span class="nx">Y</span><span class="p">.</span><span class="nx">Get</span><span class="p">.</span><span class="nx">script</span><span class="p">(</span><span class="nx">url</span><span class="p">,</span> <span class="p">{</span>
            <span class="nx">onFailure</span><span class="o">:</span> <span class="nx">wrap</span><span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">on</span><span class="p">.</span><span class="nx">failure</span><span class="p">),</span>
            <span class="nx">onTimeout</span><span class="o">:</span> <span class="nx">wrap</span><span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">on</span><span class="p">.</span><span class="nx">timeout</span><span class="p">),</span>
            <span class="nx">timeout</span>  <span class="o">:</span> <span class="nx">config</span><span class="p">.</span><span class="nx">timeout</span>
        <span class="p">});</span>

        <span class="k">return</span> <span class="nx">self</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default url formatter.  Looks for callback= in the url and appends it</span>
<span class="cm">     * if not present.  The supplied proxy name will be assigned to the query</span>
<span class="cm">     * param.  Override this method by passing a function as the</span>
<span class="cm">     * &amp;quot;format&amp;quot; property in the config object to the constructor.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _format</span>
<span class="cm">     * @param url { String } the original url</span>
<span class="cm">     * @param proxy {String} the function name that will be used as a proxy to</span>
<span class="cm">     *      the configured callback methods.</span>
<span class="cm">     * @param args* {any} additional args passed to send()</span>
<span class="cm">     * @return {String} fully qualified JSONP url</span>
<span class="cm">     * @protected</span>
<span class="cm">     */</span>
    <span class="nx">_format</span><span class="o">:</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">url</span><span class="p">,</span> <span class="nx">proxy</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">return</span> <span class="nx">url</span><span class="p">.</span><span class="nx">replace</span><span class="p">(</span><span class="sr">/\{callback\}/</span><span class="p">,</span> <span class="nx">proxy</span><span class="p">);</span>
    <span class="p">}</span>
<span class="p">};</span>

<span class="nx">Y</span><span class="p">.</span><span class="nx">JSONPRequest</span> <span class="o">=</span> <span class="nx">JSONPRequest</span><span class="p">;</span>

<span class="cm">/**</span>
<span class="cm"> *</span>
<span class="cm"> * @method Y.jsonp</span>
<span class="cm"> * @param url {String} the url of the JSONP service with the {callback}</span>
<span class="cm"> *          placeholder where the callback function name typically goes.</span>
<span class="cm"> * @param c {Function|Object} Callback function accepting the JSON payload</span>
<span class="cm"> *          as its argument, or a configuration object (see above).</span>
<span class="cm"> * @param args* {any} additional arguments to pass to send()</span>
<span class="cm"> * @return {JSONPRequest}</span>
<span class="cm"> * @static</span>
<span class="cm"> */</span>
<span class="nx">Y</span><span class="p">.</span><span class="nx">jsonp</span> <span class="o">=</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">url</span><span class="p">,</span><span class="nx">c</span><span class="p">)</span> <span class="p">{</span>
    <span class="kd">var</span> <span class="nx">req</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">JSONPRequest</span><span class="p">(</span><span class="nx">url</span><span class="p">,</span><span class="nx">c</span><span class="p">);</span>
    <span class="k">return</span> <span class="nx">req</span><span class="p">.</span><span class="nx">send</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="nx">req</span><span class="p">,</span> <span class="nx">Y</span><span class="p">.</span><span class="nb">Array</span><span class="p">(</span><span class="nx">arguments</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="kc">true</span><span class="p">));</span>
<span class="p">};</span>

<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">YUI</span><span class="p">.</span><span class="nx">Env</span><span class="p">.</span><span class="nx">JSONP</span><span class="p">)</span> <span class="p">{</span>
    <span class="nx">YUI</span><span class="p">.</span><span class="nx">Env</span><span class="p">.</span><span class="nx">JSONP</span> <span class="o">=</span> <span class="p">{};</span>
<span class="p">}</span>
</pre></div>

                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_align-plugin.html" title="align-plugin">align-plugin</a></li>
                                <li class=""><a href="module_anim.html" title="anim">anim</a></li>
                                <li class=""><a href="module_arraysort.html" title="arraysort">arraysort</a></li>
                                <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
                                <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_base.html" title="base">base</a></li>
                                <li class=""><a href="module_cache.html" title="cache">cache</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
                                <li class=""><a href="module_collection.html" title="collection">collection</a></li>
                                <li class=""><a href="module_console.html" title="console">console</a></li>
                                <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
                                <li class=""><a href="module_dd.html" title="dd">dd</a></li>
                                <li class=""><a href="module_dial.html" title="dial">dial</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dump.html" title="dump">dump</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_escape.html" title="escape">escape</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
                                <li class=""><a href="module_event-gestures.html" title="event-gestures">event-gestures</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_event-touch.html" title="event-touch">event-touch</a></li>
                                <li class=""><a href="module_event-valuechange.html" title="event-valuechange">event-valuechange</a></li>
                                <li class=""><a href="module_highlight.html" title="highlight">highlight</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_history-deprecated.html" title="history-deprecated">history-deprecated</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_intl.html" title="intl">intl</a></li>
                                <li class=""><a href="module_io.html" title="io">io</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class="selected"><a href="module_jsonp.html" title="jsonp">jsonp</a></li>
                                <li class=""><a href="module_loader.html" title="loader">loader</a></li>
                                <li class=""><a href="module_node.html" title="node">node</a></li>
                                <li class=""><a href="module_node-flick.html" title="node-flick">node-flick</a></li>
                                <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
                                <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
                                <li class=""><a href="module_oop.html" title="oop">oop</a></li>
                                <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
                                <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
                                <li class=""><a href="module_pluginhost.html" title="pluginhost">pluginhost</a></li>
                                <li class=""><a href="module_pluginhost-base.html" title="pluginhost-base">pluginhost-base</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_querystring.html" title="querystring">querystring</a></li>
                                <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
                                <li class=""><a href="module_recordset.html" title="recordset">recordset</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_scrollview.html" title="scrollview">scrollview</a></li>
                                <li class=""><a href="module_scrollview-base.html" title="scrollview-base">scrollview-base</a></li>
                                <li class=""><a href="module_scrollview-base-ie.html" title="scrollview-base-ie">scrollview-base-ie</a></li>
                                <li class=""><a href="module_scrollview-paginator.html" title="scrollview-paginator">scrollview-paginator</a></li>
                                <li class=""><a href="module_scrollview-scrollbars.html" title="scrollview-scrollbars">scrollview-scrollbars</a></li>
                                <li class=""><a href="module_shim-plugin.html" title="shim-plugin">shim-plugin</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_sortable.html" title="sortable">sortable</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_test.html" title="test">test</a></li>
                                <li class=""><a href="module_text.html" title="text">text</a></li>
                                <li class=""><a href="module_transition.html" title="transition">transition</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_widget.html" title="widget">widget</a></li>
                                <li class=""><a href="module_widget-anim.html" title="widget-anim">widget-anim</a></li>
                                <li class=""><a href="module_widget-base-ie.html" title="widget-base-ie">widget-base-ie</a></li>
                                <li class=""><a href="module_widget-child.html" title="widget-child">widget-child</a></li>
                                <li class=""><a href="module_widget-locale.html" title="widget-locale">widget-locale</a></li>
                                <li class=""><a href="module_widget-parent.html" title="widget-parent">widget-parent</a></li>
                                <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
                                <li class=""><a href="module_widget-position-align.html" title="widget-position-align">widget-position-align</a></li>
                                <li class=""><a href="module_widget-position-constrain.html" title="widget-position-constrain">widget-position-constrain</a></li>
                                <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
                                <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
                                <li class=""><a href="module_yql.html" title="yql">yql</a></li>
                                <li class=""><a href="module_yui.html" title="yui">yui</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="JSONPRequest.html" title="JSONPRequest">JSONPRequest</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class=""><a href="jsonp-url.js.html" title="jsonp-url.js">jsonp-url.js</a></li>
                                <li class="selected"><a href="jsonp.js.html" title="jsonp.js">jsonp.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "protected", "host": "JSONPRequest", "name": "_defaultCallback", "url": "JSONPRequest.html#method__defaultCallback", "type": "method"}, {"access": "protected", "host": "JSONPRequest", "name": "_format", "url": "JSONPRequest.html#method__format", "type": "method"}, {"access": "protected", "host": "JSONPRequest", "name": "_init", "url": "JSONPRequest.html#method__init", "type": "method"}, {"access": "protected", "host": "JSONPRequest", "name": "_pattern", "url": "JSONPRequest.html#property__pattern", "type": "property"}, {"access": "private", "host": "JSONPRequest", "name": "_requests", "url": "JSONPRequest.html#property__requests", "type": "property"}, {"access": "", "host": "JSONPRequest", "name": "send", "url": "JSONPRequest.html#method_send", "type": "method"}, {"access": "protected", "host": "JSONPRequest", "name": "_template", "url": "JSONPRequest.html#property__template", "type": "property"}, {"access": "", "host": "JSONPRequest", "name": "Y.jsonp", "url": "JSONPRequest.html#method_Y.jsonp", "type": "method"}];
</script>
</body>
</html>
